package cn.xx.org.mapper;

import cn.xx.basic.mapper.BaseMapper;
import cn.xx.basic.query.BaseQuery;
import cn.xx.org.domain.Employee;
import cn.xx.org.domain.Shop;

import java.util.List;

public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 根据名字查询店铺对象
     * @param name
     * @return
     */
    Shop loadByName(String name);

    List<Shop> findAll();

    Shop findByEmployeeId (Long id);
}
